/**
 * <p>Copyright (c) 2017 深圳市鹏途交通科技有限公司 </p>
 * <p>				   All right reserved. 		     </p>
 * 
 * <p>项目名称 ： 	         </p>
 * <p>创建者   :	heyong 
 * 
 * <p>描   述  :   ProvinceServiceImpl.java for com.pengtu.gsj.service.impl.check    </p>
 * 
 * <p>最后修改 : $: 2017年7月6日-上午11:59:58 v 1.0.0	 win7   $ </p>
 * 
*/

package com.pengtu.gsj.service.impl.check;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.pengtu.gsj.dao.base.Page;
import com.pengtu.gsj.dao.base.QueryFilter;
import com.pengtu.gsj.dao.check.ProvinceDao;
import com.pengtu.gsj.entity.check.CheckProject;
import com.pengtu.gsj.service.check.ProvinceService;

/**
 * 
 * ProvinceServiceImpl
 * 
 * 2017年7月6日 上午11:59:58
 * 
 * @version 1.0.0
 * 
 */
@Service
@Transactional
public class ProvinceServiceImpl implements ProvinceService{
	
	
	@Autowired
	private ProvinceDao provinceDao;
	
	@Override
	public void save(CheckProject checkProject) {
		provinceDao.save(checkProject);
	}
	
	
	@Override
	public Page<CheckProject> getCheckProjects(Page<CheckProject> page,
			QueryFilter queryFilter) {
		return provinceDao.findPage(page, queryFilter);
	}
	
	@Override
	public CheckProject getCheckProject(String id) {
		return provinceDao.get(id);
	}
	
}
